import http from '@/utils/http'
// 查询列表
export async function getListApi(parm) {
  return await http.get('/api/feeWater/list', parm)
}
// 根据单元id查询房屋列表
export async function getHouseByUnitIdApi(parm) {
  return await http.get('/api/houseList/getHouseByUnitId', parm)
}
// 新增水费
export async function addWaterApi(parm) {
  return await http.post('/api/feeWater', parm)
}
// 编辑水费
export async function editWaterApi(parm) {
  return await http.put('/api/feeWater', parm)
}
// 删除水费
export async function deleteWaterApi(parm) {
  return await http.delete('/api/feeWater', parm)
}
// 缴费
export async function payWaterApi(parm) {
  return await http.post('/api/feeWater/payWater', parm)
}
